package com.lzw.service.admin;

import com.lzw.pojo.Announcement;

import java.time.LocalDate;
import java.util.List;

public interface AnnouncementService {
    List<Announcement> listAnnouncement(Integer pageNum, Integer pageSize, LocalDate datePosted, String postedBy);

    void addAnnouncement(Announcement announcement);

    void deleteAnnouncement(List<Integer> ids);

    Announcement getAnnouncementById(int id);

    void updateAnnouncement(Announcement announcement);
}
